package xin.nick.summer.interceptor;

import xin.nick.summer.pojo.Handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Nick
 * @date 2021/5/30
 * @description 拦截器接口
 */
public interface SummerInterceptor {

    boolean preHandle(HttpServletRequest request, HttpServletResponse response, Handler handler);

}
